﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ViewModels;

namespace MVVMCommon.ViewModels
{
    class SampleViewModel : ViewModelBase<SampleViewModel>
    {








        public System.Action Action1
        {
            get { return _Action1ContainerLocator(this).Value; }
            set { _Action1ContainerLocator(this).SetValueAndTryNotify( value); }
        }

        #region Property System.Action Action1 Setup
        protected PropertyContainer<System.Action> _Action1;
        protected static Func<object, PropertyContainer<System.Action>> _Action1ContainerLocator =
            RegisterContainerLocator<System.Action>(
                "Action1",
                model =>
                    model._Action1 =
                        model._Action1
                        ??
                        new PropertyContainer<System.Action>("Action1"));
        #endregion































    }
}
